#!/bin/bash

# 1: running
# 0: stopped

if [ -d "${DRS_PATH}" ]; then
    drs_go_path="${DRS_PATH}/bin/drs_go.sh"
    count=`${drs_go_path} status | grep -c started`
    if [ $count -ne "0" ]; then
        echo "1"; exit 0
    else
        echo "0"; exit 0
    fi
fi

